﻿@model YGLAB_SON.Models.RegisterModel

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Kullanici/_KullaniciLayout.cshtml";
}
<h2>Kullanıcıları Ekle</h2>
@using (Html.BeginForm("Register2","Account")) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>RegisterModel</legend>

        <div class="editor-label">
            @Html.Label("Kullanıcı Adı")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>

        <div class="editor-label">
            @Html.Label("Şifre")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>

        <div class="editor-label">
           @Html.Label("Şifre Tekrar")
        </div>
     
        <div class="editor-field">
            @Html.EditorFor(model => model.ConfirmPassword)
            @Html.ValidationMessageFor(model => model.ConfirmPassword)
        </div>

        <div class="editor-label">
            @Html.Label("Email")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>

        <p>
            <input type="submit" value="Oluştur" />
        </p>
    </fieldset>
}


